package com.wey.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//Spring boot方式
@Configuration
//mapper接口扫描
@MapperScan("com.wey.mapper")
//事务管理, 自动创建   DataSourceTransactionManager
@EnableTransactionManagement
public class MybatisPlusConfig {

}